<!-- 此模板组件：是定义各种通用的 cms使用到的文章布局baiduTemplate -->
<!-- 模板：首页banner滚屏模板 -->
<script type="text/template" id="banner-template">
		<div class="fullSlide">
			<div class="bd">
				<ul>
					<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
					<? for ( var i = 0; i <totalRows; i++) {?>
		 			<li>
						<img class="visible-lg visible-md visible-sm" src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" style="width:100%;height:<?=strUtil.doNull(dataTempHeight,'400px')?>;">
					</li>
					<?}?>
				</ul>
			</div>
			<div class="hd"><ul></ul></div>
			<span class="prev"></span>
			<span class="next"></span>
		</div>
</script>

<!-- 模板：首页-bannerTitle ，banner图片+标题文字介绍滚屏模板 -->
<script type="text/template" id="bannerTitle-template">
	<div class="fullSlide">
			<div class="bd">
				<ul>
					<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
					<? for ( var i = 0; i <totalRows; i++) {?>
		 			<li>
						<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank">
							<img class="visible-lg visible-md visible-sm" src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" style="width:100%;height:<?=strUtil.doNull(dataTempHeight,'400px')?>;">
						</a>
           				<p>
            				<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank"><?=rows[i].title?></a>
          				 </p>
					</li>
					<?}?>
				</ul>
			</div>
			<div class="hd"><ul></ul></div>
			<span class="prev"></span>
			<span class="next"></span>
	</div>
</script>

<!-- 模板：纯图片 模板 -->
<script type="text/template" id="img-template">
<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
<? for ( var i = 0; i <totalRows; i++) {?>
	<a  title="<?=rows[i].title?>" target="_blank">
		<img src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" style="width:100%;height:<?=strUtil.doNull(dataTempHeight,'400px')?>;"/>
	</a>
<?}?>
</script>

<!-- 模板：纯文字+日期列表 -->
<script type="text/template" id="fontList-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<div class="form-group lh35">
			<div class=" col-lg-8 col-md-8 hidden-xs hidden-sm visible-md visible-lg text-left">
				<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"> 
					<?=strUtil.subStr(rows[i].title,16)?>
				</a>
			</div>
			<div class=" col-xs-12 col-sm-12 visible-xs visible-sm hidden-md hidden-lg text-left">
   				<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"> 
   				<?=strUtil.subStr2(rows[i].title,22)?>
   				</a>
   			</div>
   			<span class="col-xs-12 col-sm-12 col-md-4 col-md-4 text-right"><?=strUtil.subStr2(rows[i].publishedTime,10)?></span>
   		</div>
 	<?}?>
	<? if ( total > dataTempRows) {?>
		<div class="form-group">
			<div class="col-lg-12 text-right">
				<span><a class="more" href="/wcm/<?=rows[0].websiteCode?>/html/<?=rows[0].channelCode?>/index.html" target="_blank">更多>> </a></span>
			</div>
		</div>
	<?}?>
</script>

<!-- 模板：纯文字+日期+下划线列表 -->
<script type="text/template" id="fontListDateLine-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<li>
			<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"> 
				<?=strUtil.subStr(rows[i].title,20)?>
			</a>
   			<span><?=strUtil.subStr2(rows[i].publishedTime,10)?></span>
   		</li>
 	<?}?>
</script>

<!-- 模板：纯文字+下划线列表 -->
<script type="text/template" id="fontListLine-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<li>
			<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"> 
				<?=strUtil.subStr(rows[i].title,20)?>
			</a>
   		</li>
 	<?}?>
</script>

<!-- 模板：文字+主图列表 -->
<script type="text/template" id="fontImgList-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<div class="form-group col-lg-<?=strUtil.doNull(dataTempCols,'12')?>">
			<div class="col-lg-4 col-md-4 text-left">
				<img class="img-responsive" src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" style="width:100%;height:<?=strUtil.doNull(dataTempHeight,'100px')?>;" />
			</div>
			<div class="col-lg-8 col-md-8 text-left">
				<div class="col-lg-12 col-md-12 text-left">
   					<h4><a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"><?=strUtil.subStr2(rows[i].title,22)?></a>
   				</div>
				<div class="col-lg-12 col-md-12 text-left">
   					<p class="mt10 fx8"><?=strUtil.subStr(rows[i].memo,50)?></p>
   				</div>
			</div>
   		</div>
 	<?}?>
	<? if ( total > dataTempRows) {?>
		<div class="form-group">
			<span><a class="more" href="/wcm/<?=rows[0].websiteCode?>/html/<?=rows[0].channelCode?>/index.html" target="_blank">更多>></a></span>
		</div>
	<?}?>
</script>

<!-- 模板：最新1文章主图+文章标题列表-模板 -->
<script type="text/template" id="fontListNewImg-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? if ( totalRows > 0) {?>
			<div class="col-md-5">
				<img class="img-responsive" src="<?=rows[0].redirectUrl?>" srcval="<?=rows[0].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" style="width:100%;height:<?=strUtil.doNull(dataTempHeight,'240px')?>;"/>
 			</div>
			<div class="col-md-7">
				<ul class="common_text">
				<? for ( var i = 0; i <totalRows; i++) {?>
					<li>
						<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"> 
						<?=strUtil.subStr(rows[i].title,20)?>
						</a>
   					</li>
 				<?}?>
				</ul>
			</div>
	<?}?>
</script>

<!-- 模板：最新1条文字+主图 -->
<script type="text/template" id="fontImg-template">
	<?var totalRows = 1;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
		<div class="form-group">
		 	<div class="col-sm-6 pt10 text-left">
		       <img class="img-responsive" src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" style="width:100%;height:<?=strUtil.doNull(dataTempHeight,'200px')?>;"/>
			</div>
			<div class="col-sm-6  pt10 text-left">
				<h4><a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" ><?=strUtil.subStr(rows[i].title,15)?></a></h4>
				<p class="mt10 fx8" style="height:130px;"><?=strUtil.subStr(rows[i].memo,150)?></p>
			</div>
		</div>
	<?}?>
	<? if ( total > 0) {?>
		<div class="form-group">
			<span><a class="more" href="/wcm/<?=rows[0].websiteCode?>/html/<?=rows[0].channelCode?>/index.html" target="_blank">更多>></a></span>
		</div>
	<?}?>
</script>

<!-- 模板：友情链接 -->
<script type="text/template" id="links-template">
<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
<? for ( var i = 0; i < totalRows; i++) {?>
		<li>
			<a href="<?=rows[i].redirectUrl?>" target="_blank" title="<?=rows[i].title?>"> <?=rows[i].title?></a>    
		</li>
<?}?>  
</script>

<!-- 模板：4主图+标题+列表 -->
<script type="text/template" id="imgTitleList-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<div class="form-group col-lg-3"  >
				<img class="img-responsive" src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'" />
			<div class="col-lg-12 col-md-12 text-left">
   				<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"><?=strUtil.subStr2(rows[i].title,10)?></a>
   			</div>
   		</div>
 	<?}?>
	<? if ( total > dataTempRows) {?>
		<div class="form-group">
			<span><a class="more" href="/wcm/<?=rows[0].websiteCode?>/html/<?=rows[0].channelCode?>/index.html" target="_blank">更多>></a></span>
		</div>
	<?}?>
</script>

<!-- 模板：主图+标题+横排2个列表 -->
<script type="text/template" id="imgFontList-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<div class="form-group col-lg-6"  >
				<img class="img-responsive" src="<?=rows[i].redirectUrl?>" srcval="<?=rows[i].redirectUrl?>" onerror="javascript:this.src='<?=dataDefVal?>'"/>
			<div class="col-lg-12 col-md-12 text-left">
   				<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].title?>"><?=strUtil.subStr2(rows[i].memo,50)?></a>
   			</div>
   		</div>
 	<?}?>
	<? if ( total > dataTempRows) {?>
		<div class="form-group">
			<span><a class="more" href="/wcm/<?=rows[0].websiteCode?>/html/<?=rows[0].channelCode?>/index.html" target="_blank">更多>></a></span>
		</div>
	<?}?>
</script>

<!-- 模板：挂牌纯文字(项目名称+时间)列表 -->
<script type="text/template" id="guaPaiFontList-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<div class="form-group lh35">
			<div class=" col-lg-8 col-md-8 hidden-xs hidden-sm visible-md visible-lg text-left">
				<a href="/wcm/<?=rows[i].proName?>/html/<?=rows[i].proName?>" target="_blank" title="<?=rows[i].proName?>"> 
					<i class="fa fa-angle-right fx8"></i> <?=strUtil.subStr(rows[i].proName,18)?>
				</a>
			</div>
			<div class=" col-xs-12 col-sm-12 visible-xs visible-sm hidden-md hidden-lg text-left">
   				<a href="/wcm/<?=rows[i].websiteCode?>/html/<?=rows[i].url?>" target="_blank" title="<?=rows[i].proName?>"> 
   				<i class="fa fa-angle-right fx8"></i> <?=strUtil.subStr2(rows[i].title,22)?>
   				</a>
   			</div>
   			<div class=" col-xs-12 col-sm-12 col-md-4 col-md-4 text-right fx8"><i class="fa fa fa-clock-o"></i> <?=strUtil.subStr2(rows[i].createTime,10)?></div>
   		</div>
 	<?}?>
	<? if ( total > dataTempRows) {?>
		<div class="form-group">
			<span><a class="more" href="/portal/wcm/macao/html/WEB/pro-list.jsp" target="_blank">更多>></a></span>
		</div>
	<?}?>
</script>

<!-- 模板：项目大厅挂牌列表 -->
<script type="text/template" id="trpProFontList-template">
	<?var totalRows = dataTempRows;if(rows.length<totalRows){totalRows=rows.length}?>
	<? for ( var i = 0; i <totalRows; i++) {?>
 		<tr>
			<td class="text-left ptitle"><a href="javascript:void(0);" onclick="toDetailPub('')"><?=rows[i].trpPro.proName?></a></td>
			<td class="text-left"><?=rows[i].trpPro.proNo?></td>
			<td class="text-center"><?=rows[i].trpPub.rPrice?></td>
			<td class="text-center"><?=rows[i].trpPro.createTime?></td>
			<td class="text-center"><?=rows[i].trpPub.rTotalMoney?></td>
			<td class="text-center">
				<button type="button" class="btn btn-primary btn-sm" data-widget="collapse">我有意向
                </button>
			</td>
		</tr>
 	<?}?>
	<? if ( total > dataTempRows) {?>
		<div class="form-group">
			<span><a class="more" href="/portal/wcm/macao/html/WEB/pro-list.jsp" target="_blank">更多>></a></span>
		</div>
	<?}?>
</script>